package com.corgi.multi.modules.sys.write.domain.entity;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * User
 *
 * @title: User
 * @description:
 * @author: dengmiao
 * @create: 2020-05-20 19:58
 **/
@Entity
@Table
public class User {

    @Id
    private Long id;

    private String realName;

    private Float score;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public Float getScore() {
        return score;
    }

    public void setScore(Float score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", realName='" + realName + '\'' +
                ", score=" + score +
                '}';
    }
}
